package org.jeecg.modules.dzswj.vo.response.fpxx;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 查询发票及明细信息(单张发票)
 * @author chensherun on 2022/2/24.
 * @version 1.0
 */
@Data
public class DzdzfpbccxVo {

    private List<ZbVo> zb;

    private List<MxVo> mx;

    /**
     * 主表信息
     {
     "xfsbh": "91440113723771423N",
     "kpyf": 202201,
     "wspzh": null,
     "gfSjswjgDm": "144000000",
     "gfmc": "方欣科技有限公司",
     "ydfpbz": "N",
     "gfQxswjgDm": "144011200",
     "bzsje": 0,
     "xhqdBz": "N",
     "fpztBz": "0",
     "xfDsswjgDm": "144010000",
     "xsfdzdh": "广州市天河区新岑四路2号五层501~502单元 28664888",
     "yfphm": null,
     "xdjg": null,
     "skm": "+6921771*386*66<4+-*57->*64*395*<715>*7863-73-30>8718<700<82254190309-*+<97++010>>*<8>1-58<095>07/<1---8595/",
     "yfpdm": null,
     "kjlx": "1",
     "skr": "林芝吟",
     "fpztWhsj": "2022-01-05 10:52:00",
     "xfQxswjgDm": "144010611",
     "zbxlh": null,
     "dkbdbs": "0",
     "sjqfrq": "2022-01-05 10:44:57",
     "kpr": "王奕娜",
     "xfSjswjgDm": "144000000",
     "jsrMc": "网上抄报",
     "gmfdzdh": "广州市黄埔区科学大道82-88号（双号）（C3）栋901房020-62983333",
     "bdbz": null,
     "fpztYwsj": "2022-01-05 11:21:03",
     "jsswjgDm": "99999999999",
     "xsfyhzh": "中国农业银行广州天银大厦支行44058501040001594",
     "jsrDm": "99999999999",
     "jshj": 1047000,
     "je": 987735.85,
     "xfmc": "广州易宝信息技术有限公司",
     "slv": 0.06,
     "ydk": null,
     "gmfyhzh": "中国银行股份有限公司广州越秀支行739357755546",
     "yqbz": "0",
     "tspzDm": "99",
     "dkXsfmc": null,
     "syslbs": "0",
     "gfDsswjgDm": "144010000",
     "jssj": "2022-01-05 10:39:47",
     "kpjh": 0,
     "sblxDm": "1",
     "zfrq": null,
     "se": 59264.15,
     "cslxDm": "01",
     "dataCategory": "01",
     "sjswjgDm": null,
     "kprq": "2022-01-05 11:21:03",
     "bz": "V992",
     "bmbBbh": "39.0",
     "mxts": 1,
     "fpztDm": "0",
     "sbbh": "661509887001",
     "gfsbh": "91440101708358833M",
     "sjbb": "2.0.00",
     "fpdm": "4400213130",
     "rksj": "2022-01-05 10:39:47",
     "dkXsfsbh": null,
     "yddk": "0",
     "bsfs": "9",
     "swjgDm": "14401061100",
     "fhr": "彭燕玲",
     "fpzldm": "01",
     "tslsh": "4400202201051042062994394",
     "hzxxbBh": null,
     "zjqfrq": null,
     "bsNsrsbh": "91440113723771423N",
     "hsslbz": "0",
     "fphm": "72050737",
     "jym": "77975925642467122686"
     }
     *
     */
    @Data
    public static class ZbVo {
        private String xfsbh;
        private String kpyf;
        private String wspzh;
        private String gfSjswjgDm;
        private String gfmc;
        private String ydfpbz;
        private String gfQxswjgDm;
        private String bzsje;
        private String xhqdBz;
        private String fpztBz;
        private String xfDsswjgDm;
        private String xsfdzdh;
        private String yfphm;
        private String xdjg;
        private String skm;
        private String yfpdm;
        private String kjlx;
        private String skr;
        private String fpztWhsj;
        private String xfQxswjgDm;
        private String zbxlh;
        private String dkbdbs;
        private String sjqfrq;
        private String kpr;
        private String xfSjswjgDm;
        private String jsrMc;
        private String gmfdzdh;
        private String bdbz;
        private String fpztYwsj;
        private String jsswjgDm;
        private String xsfyhzh;
        private String jsrDm;
        private BigDecimal jshj;
        private BigDecimal je;
        private String xfmc;
        private BigDecimal slv;
        private String ydk;
        private String gmfyhzh;
        private String yqbz;
        private String tspzDm;
        private String dkXsfmc;
        private String syslbs;
        private String gfDsswjgDm;
        private Date jssj;
        private String kpjh;
        private String sblxDm;
        private Date zfrq;
        private BigDecimal se;
        private String cslxDm;
        private String dataCategory;
        private String sjswjgDm;
        private Date kprq;
        private String bz;
        private String bmbBbh;
        private BigDecimal mxts;
        private String fpztDm;
        private String sbbh;
        private String gfsbh;
        private String sjbb;
        private String fpdm;
        private Date rksj;
        private String dkXsfsbh;
        private String yddk;
        private String bsfs;
        private String swjgDm;
        private String fhr;
        private String fpzldm;
        private String tslsh;
        private String hzxxbBh;
        private String zjqfrq;
        private String bsNsrsbh;
        private String hsslbz;
        private String fphm;
        private String jym;
    }

    /**
     * 发票明细信息
     {
     "kpyf": 202201,
     "ggxh": null,
     "fpdm": "4400213130",
     "jldw": "项",
     "yhzcbs": "0",
     "dj": "1646226.415094339622642",
     "ydfpbz": "N",
     "mxxh": 1,
     "zxbm": "00001982",
     "lslbs": null,
     "se": 59264.15,
     "fpzldm": "01",
     "kprq": "2022-01-05 00:00:00",
     "mc": "*信息技术服务*技术开发费",
     "sl": "0.6",
     "tslsh": "4400202201051042062994394",
     "je": 987735.85,
     "slv": 0.06,
     "spbm": "3040201010000000000",
     "fphm": "72050737",
     "qdbz": "00"
     }
     */
    @Data
    public static class MxVo {
        private String kpyf;
        private String ggxh;
        private String fpdm;
        private String jldw;
        private String yhzcbs;
        private String dj;
        private String ydfpbz;
        private BigDecimal mxxh;
        private String zxbm;
        private String lslbs;
        private BigDecimal se;
        private String fpzldm;
        private Date kprq;
        private String mc;
        private BigDecimal sl;
        private String tslsh;
        private BigDecimal je;
        private BigDecimal slv;
        private String spbm;
        private String fphm;
        private String qdbz;
    }
}
